package org.the.gsdo.shared;

import com.gwtplatform.dispatch.shared.Result;

/**
 * The result of a {@link SendTextToServer} action.
 */
public class SendTextToServerResult implements Result {

	private static final long serialVersionUID = 4621412923270714515L;

	private String uuid;
	private String toServer;
	private String response;

	public SendTextToServerResult(
			final String uuid,
			final String toServer,
			final String response) {
		this.uuid = uuid;
		this.toServer = toServer;
		this.response = response;
	}

	/**
	 * For serialization only.
	 */
	@SuppressWarnings("unused")
	private SendTextToServerResult() {
	}

	public String getResponse() {
		return response;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getUuid() {
		return uuid;
	}

	public void setToServer(String toServer) {
		this.toServer = toServer;
	}

	public String getToServer() {
		return toServer;
	}

}
